{{include file="../Common/header"}}
	<link rel="stylesheet" href="./Public/Home/css/order.css">
	<script src="./Public/Home/js/area.js"></script>
{{P($_SESSION);}}
	<!-- 公共部分结束 -->
	<div id="content">
		<div class="mall_modw">
			<div class="hd"> 
			<h3>收货地址</h3> 
			<span style="color:red;font-size:14px;padding:10px">温馨提示：为了保证您的权益，防止黄牛倒卖，订单进入正在配货状态将不能修改收货地址和发票信息！</span></div>
			<!-- 地址选择部分 -->
			<div class="bd">
				<div class="init">
					<div class="sec_adr">
						<ul>
							<li>
								<input class="input-radio" type="radio" name="radio" value="0" id="address" checked="">
								<label for="address">旺达，河北省 秦皇岛市 青龙满族自治县 123号，13261300664</label>
								<div class="adr">
									编辑
								</div>
							</li>
							<li>
								<input class="input-radio" type="radio" name="radio" value="0" id="ad1" checked="">
								<label for="ad1">旺达，河北省 秦皇岛市 青龙满族自治县 123号，13261300664</label>
								<div class="adr">
									编辑
								</div>
							</li>
							<li>
								<input class="input-radio" type="radio" name="radio" value="0" id="ad2" checked="">
								<label for="ad2">旺达，河北省 秦皇岛市 青龙满族自治县 123号，13261300664</label>
								<div class="adr">
									编辑
								</div>
							</li>
						</ul>
						<a class="add" href="javascript:;" title="添加新地址" data-monitor="user_address_add"></a>
					</div>
					<div class="address">
						<form action="" method="post">
							<div class="add-row"> 
							<label class="consignee-add-label" for=""> <b>*</b>收货人姓名 </label> 
							<input name="username" type="text"  placeholder="收货人姓名" style="width: 230px;height:37px;">
							</div>

							<div class="add-row"> 
							<label class="consignee-add-label" for=""> <b>*</b>地址 </label> 
							<!-- 引入三级地址选择 -->
							<div class="info">
								<div>
									<select name="a1" id="a1">

									</select>
									<select name="a2" id="a2">

									</select>
									<select name="a3" id="a3">

									</select>
							    <div id="show"></div>
							</div>

							<script type="text/javascript">
								$(function(){
									//初始化方法
									area.init('a');
									//修改的时候默认被选中效果
									// area.selected('黑龙江','哈尔滨','道里区');
								})
							</script>
							<!-- 引入三级地址选择结束 -->

							<textarea name="a4" placeholder="路名街道地址，或门牌号"></textarea>
							</div>

							<div class="add-row"> 
							<label class="consignee-add-label" for="">邮政编码 </label> 
							<input name="zip" type="text"  placeholder="6位邮政编码" style="width: 230px;height:37px;">
							</div>

							<div class="add-row"> 
							<label class="consignee-add-label" for=""> <b>*</b>手机号码 </label> 
							<input name="number" type="text"  placeholder="11位手机号码" style="width: 230px;height:37px;">
							</div>

							<div class="sub"> 
								<p> 
									<a href="javascript:;" id="consigneeAddBtn" class="save">保存</a> 
									<a href="javascript:;" id="consigneeCancelBtn" class="cancle">取消</a> 
								</p> 
							</div>
							
						</form>
					</div>
				</div>
			</div>
		</div>

		<div class="mall_modw">
			<div class="hd"> 
			<h3>支付方式</h3> 
			</div>
			<p>限在线支付</p>
		</div>
		<div class="mall_modw">
			<div class="hd"> 
			<h3>配送方式</h3> 
			</div>
			<p>快递配送，费用5元</p>
		</div>
		<div class="mall_modw">
			<div class="hd"> 
			<h3>商品清单</h3> 
			</div>

			<div id="my_car">
			<div class="car_list">				
					<div class="title">
						<ul>
							<li class="lit">商品信息</li>
							<li>单价</li>
							<li>数量</li>
							<li>合计</li>
						</ul>
					</div>				
			</div>
			<div class="list">
				{{foreach from="$_SESSION['cart']['goods']" key="$k" value="$v"}}
				<ul>
					<li class="lit">
						<div class="img">
							<img src="{{$v['pic']}}" alt="">
						</div>
						<a href="{{U('Content/index',['gid'=>$v['id']])}}" title="">{{$v['name']}}</a>
					</li>
					<li><span>{{$v['price']}}</span>元</li>
					<li>×<span>{{$_SESSION['cart']['total_rows']}}</span></li>
					<li class="xj"><span>{{$v['total']}}</span>元</li>
				</ul>
				{{endforeach}}
			</div>
			
			<!-- 商品价格总计 -->
			<div class="count">
				<div class="money">
					共：<span style="color:orange;">{{$_SESSION['cart']['total_rows']}}</span>件 <br>
					金额共计：<span>{{$_SESSION['cart']['total']}}</span>元 <br>
					配送费：<span>5</span>元
					<p>应付总额:<span>{{$_SESSION['cart']['total']+5}}</span>元</p>
				</div>
				<div class="btn">
					<a href="javascript:void(0);" class="b2" title="立即下单">立即下单</a>
				</div>
			</div>
		</div>


		</div>
	</div>
<!-- 公共底部部分开始 -->
	 <!-- 7天无理由退货部分 -->
		<div id="ser">
			<div class="ser">
				<div class="li">
					<i>7</i><span>7天无理由退货</span>
				</div>
				<div class="li">
					<i>15</i><span>15天免费换货</span>
				</div>
				<div class="li lin">
					<i>包</i><span>7满99元包邮</span>
				</div>
			</div>
		</div>

<br>
		<div id="footer">
	         <div class="ft">
	         		<br>
	         		<br>
	         		<br>
	              <p>360商城©2013-2016 360公司版权所有 京ICP备08010314号-43 京公网安备11000002000006号奇酷互联网络科技（深圳）有限公司 0755-61898999 深圳市南山区学苑大道1001号南山智园A2栋</p>
	         </div>
        </div>
</body>
</html>